#!/bin/bash
for name in `cat userinfo.txt`
do
  userdel -rf $name
  if [ $? -eq 0 ]; then
    echo $name "delete ok"
  else
    echo $name "delete  faild ################"
  fi
done
